import request from "@/utils/request";
import type {ICommonResponse} from "@/types/global";

const logoutAPI = (): ICommonResponse<string> => {
    return request({
        url: '/api/v1/user/logout',
        method: "POST",
    })
}

export default logoutAPI;